package test;

import org.junit.Test;

import main.model.json.JsonFile;
import main.model.rdf.RDF;
import main.model.rdf.RdfField;

public class LoadingJson
{

	@Test
	public void test()
	{
		 RDF [] rdf= JsonFile.load("example.json", RDF[].class);
		 for(int i=0;i<rdf.length;i++)
		 {
			 System.out.println(rdf[i].getObject().getName()
					 + " " + rdf[i].getProperty().getName()
					 + " " + rdf[i].getSubject().getName());
		 } 
	}
}
